import 'package:flutter/material.dart';

class UiBlock extends StatelessWidget {
  const UiBlock({
    super.key,
    this.height,
    this.width,
    this.margin,
  });
  final double? height;
  final double? width;
  final double? margin;

  @override
  Widget build(BuildContext context) {
    return Container(
      height: height,
      width: width,
      margin: EdgeInsets.symmetric(vertical: margin ?? 2),
      decoration: BoxDecoration(
        color: Colors.grey.withOpacity(0.2),
        borderRadius: BorderRadius.circular(5),
      ),
    );
  }
}
